From: fossdd Date: Mon, 27 Jan 2025 16:49:39 +0000 (+0100) Subject: libotutil: Remove redundant import of prctl.h X-Git-Tag: archive/raspbian/2025.7-2+rpi1^2^2~6^2~5^2~16^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e82bb38adfc9edfacfe7118592eb4b4357cc687b;p=ostree.git libotutil: Remove redundant import of prctl.h sys/prctl.h already provides prctl.h and adding both imports fails on musl libc: /usr/include/sys/prctl.h:88:8: error: redefinition of 'struct prctl_mm_map' 88 | struct prctl_mm_map { | ^~~~~~~~~~~~ In file included from src/libotutil/ot-unix-utils.c:33: /usr/include/linux/prctl.h:134:8: note: originally defined here 134 | struct prctl_mm_map { | ^~~~~~~~~~~~ --- diff --git a/src/libotutil/ot-unix-utils.c b/src/libotutil/ot-unix-utils.c index 551cc878..eee3a44f 100644 --- a/src/libotutil/ot-unix-utils.c +++ b/src/libotutil/ot-unix-utils.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include